import requests
def get_waybillNo():
    '''
    :return: 系统自动生成运单号
    '''
    path = 'xx'
    url = http + ip + path
    headers = {'content-type': 'application/json;charset=UTF-8', 'token': token}

    response = requests.get(url, headers=headers)
    return response.json()['content']

def get_shiftNo():
    '''
    :return: 系统自动生成调度单号
    '''
    path = 'xx'
    url = http + ip + path
    headers = {'content-type': 'application/json;charset=UTF-8', 'token': token}

    response = requests.get(url, headers=headers)
    return response.json()['content']
print(get_shiftNo())